Page({
  data: {
    current: 0
  },
  itemChange(e) {
    let current = e.detail.current;
    this.setData({
      current
    })
  },
  // 点击点点
  dotClick(e){
    //点击的第几个
    let current=e.currentTarget.id;
    //渲染到视图层
    this.setData({
      current
    })
  }
})